package com.basic.business.unsalablePoint.domain;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.basic.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import com.basic.common.utils.StringUtils;
import com.basic.common.utils.uuid.ULID;

/**
 * 滞销行动点对象 t_unsalable_action_point
 *
 * @author zhaoxy_jn@163.com
 * @date 2025-06-24
 */
@Getter
@Setter
@ExcelIgnoreUnannotated
public class TUnsalableActionPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 判断类型 */
    @ExcelProperty(value = "判断类型")
    private String judgeType;

    /** 商品访客数 */
    @ExcelProperty(value = "商品访客数")
    private String goodsVisitorNumber;

    /** 收藏加购率 */
    @ExcelProperty(value = "收藏加购率")
    private String collectTreasureBuyRate;

    /** 行动点 */
    @ExcelProperty(value = "行动点")
    private String actionPoint;

    public void setId(String id) {
        this.id = StringUtils.isNotEmpty(id) ? id : ULID.getId();
    }
}
